<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="./style.css" rel="stylesheet">
<title>Register</title>
</head>
<body>
	<div class="div-body">
		<div class="nav-title-bar">
			<span>AMC - Merchant System</span>
		</div>
		<div style="width: 100%; margin-top: 120px;" align="center">
			<form action="RegisterServlet" method="post"
				enctype="multipart/form-data">
				<h3 style="font-size: 18px;">REGISTER</h3>
				<table style="width: auto;">
					<tbody>
						<tr>
							<td>Username:</td>
							<td><input type="text" name="name" />${nameMsg}</td>
						</tr>
						<tr>
							<td>Password:</td>
							<td><input type="password" name="password" />${passwordMsg}</td>
						</tr>
						<tr>
							<td>Address:</td>
							<td><input type="text" name="address" />${addressMsg}</td>
						</tr>

						<tr>
							<td>Head Pic:</td>
							<td><input type="file" name="headPic" />${headPicMsg} <br /></td>
						</tr>
						<tr>
							<td>ID Card:</td>
							<td><input type="file" name="idCard" />${idCardMsg}</td>
						</tr>
					</tbody>
				</table>

				<input type="submit" value="Register" class="add-button"
					style="width: 368px; height: 36px;" />
				<p>${registerMsg}</p>
			</form>
		</div>
	</div>
</body>
</html>